package com.ceprei.gui.web;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zhou minghao
 * @date 2024/11/27
 * @description
 */
@Component
@Data
@ConfigurationProperties(prefix = "cors")
@Accessors(chain = true)
public class CorsProperties {
    private List<String> AccessControlAllowOrigin;
    private String AccessControlAllowMethods;
    private String AccessControlAllowHeaders;
    private String AccessControlAllowCredentials;
    private String AccessControlMaxAge;
}
